package cn.edu.bjfu.practice.practice.teacher.dao;

import cn.edu.bjfu.practice.practice.student.pojo.vo.CourseView;
import cn.edu.bjfu.practice.practice.teacher.pojo.domain.StudentCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentCourseDao extends BaseMapper<StudentCourse> {

    /**
     * 获取该用户所加入的所有班课
     * @param user_id
     * @return
     */
    public List<CourseView> selectCourse(Integer user_id);
}
